import {type baseResponse, useAxios} from "@/api/index";

export interface captchaType {
    image: string
    imageId: string
}

export function captchaApi():Promise<baseResponse<captchaType>>{
    return useAxios.get("/api/captcha")
}